package org.example.controller;

import org.example.bean.entity.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: example-spring-boot-extend
 * @description:
 * @author: Chenjiabin
 * @create: 2019/4/10 18:01
 **/
@RestController
@RequestMapping("ajax_simple")
public class AjaxSimpleController extends SimpleController {
    @Override
    public Object save(User user) {
        return user;
    }

    @Override
    public Object read(User user) {
        return user;
    }
}
